import Vue from 'vue';
import App from './App.vue';
import router from './router';
import './plugins/modules/element.js'; // 按需引入
import TreeTable from 'vue-table-with-tree-grid';
import store from './store';
import '@/request';

// 导入字体图标
import './assets/font/iconfont.css';
// 导入全局样式表
import './assets/css/global.css';

// 注册为全局组件
Vue.component('tree-table', TreeTable);

Vue.config.productionTip = false;

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount('#app');
